using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using XYTerrain.Runtime;


namespace XYTerrain.Runtime
{
    // 用于记录当前场景的加载状态
    public class EditorLoaderDataMessage : MonoBehaviour
    {
        public  bool[] sceneLoadBool = new bool[64];
        public Dictionary<string, List<UnityEngine.SceneManagement.Scene>> loadedScene = new Dictionary<string, List<UnityEngine.SceneManagement.Scene>>();
        public bool[] layerSelecter;

        public void SetLayerSelecter(int count)
        {
            layerSelecter = new bool[count];
        }

        public List<Scene> GetCurveAllScene()
        {
            var scenes = new List<Scene>();
            foreach (var i in loadedScene)
            {
                scenes.AddRange(i.Value);     
            }

            return scenes;
        }
        
        
        
    }
}

